package com.service.admin.admin.controller.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * <dl>
 * <dt>platform</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2018</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019-04-03</dd>
 * </dl>
 *
 */
@Setter
@Getter
@ToString
public class LoginReq {

    @NotBlank
    private String loginName;

    @NotBlank
    private String password;

//    @NotNull(message = "2FA验证码不能为空")
    private Long twofa;

    private String picCodeId;

    private String picCode;

    private String sessionId;

    private String lastLoginIp;

    private String lastIpRegion;

}
